package org.zs.miracle.service.comment.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.dto.BaseLongIdDTO;

/**
 * 用户评论表编辑数据DTO对象
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class EditCommentDTO extends BaseLongIdDTO {
  
  @Serial
  private static final long serialVersionUID = -1;
  
  /**
   * 头像URL
   */
  @Schema(description = "头像URL")
  private String avatarUrl;
  
  /**
   * 评论内容
   */
  @Schema(description = "评论内容")
  private String content;
  
  /**
   * 删除标记
   */
  @Schema(description = "删除标记")
  private Byte deleted;
  
  /**
   * 父评论的id
   */
  @Schema(description = "父评论的id")
  private Long parentId;
  
  /**
   * 帖子ID
   */
  @Schema(description = "帖子ID")
  private Long postId;
  
  /**
   * 备注
   */
  @Schema(description = "备注")
  private String remark;
  
  /**
   * 用户ID
   */
  @Schema(description = "用户ID")
  private Long userId;
  
  /**
   * 用户名
   */
  @Schema(description = "用户名")
  private String username;
}